package com.moyu.plugin.extension

import org.gradle.api.Action
import org.gradle.api.model.ObjectFactory

open class PhoenixExtension(objectFactory: ObjectFactory) {

    var name: String = "phoenix"

    var transform: TransformExtension = objectFactory.newInstance(TransformExtension::class.java)


    fun transform(action: Action<TransformExtension>) {
        action.execute(transform)
    }

    override fun toString(): String {
        return "PhoenixExtension(settings=$transform)"
    }


}